package com.zretc.entity;

/**
 * 员工实体类
 * @author waxngxinghang
 */
public class Employee {

    //员工编码
    private Integer  id;
    //员工姓名
    private String name;
    //员工性别
    private  String gender;
    //员工生日
    private  String birthday;
    //员工身份证号
    private  String idCard;
    //员工婚姻状况
    private String  wedlock;
    //员工民族
    private Integer nationId;
    //籍贯
    private String nativePlace;
    //政治面貌
    private Integer politicId;
    //邮箱
    private String email;
    //电话
    private String phone;
    //地址
    private String address;
    //所属部门
    private Integer departmentId;
    //职称ID
    private Integer jobLevelId;
    //职位ID
    private Integer positionId;
    //聘用形式
    private String engageForm;
    //最高学历
    private String tiptopDegree;
    //所属专业
    private String specialty;
    //毕业院校
    private  String school;
    //入职日期
    private String beginDate;
    //在职状态
    private String workState;
    //工号
    private String workId;
    //合同期限
    private  double contractTerm;
    //转正日期
    private String conversionTime;
    //离职日期
    private String notWorkDate;
     //开始合同日期
    private String beginContract;
    //合同终止日期
    private String endContract;
    //工龄
    private Integer workAge;
    //名族对象
    private Nation nation;
    //政治面貌对象
    private PoliticsStatus politicsStatus;
    //部门对象
    private Department department;
    //职位对象
    private Position position;
    //职称对象
    private JobLevel jobLevel;


    public Employee() {
    }

    public Employee(Integer id, String name, String gender, String birthday, String idCard, String wedlock, Integer nationId, String nativePlace, Integer politicId, String email, String phone, String address, Integer departmentId, Integer jobLevelId, Integer positionId, String engageForm, String tiptopDegree, String specialty, String school, String beginDate, String workState, String workId, double contractTerm, String conversionTime, String notWorkDate, String beginContract, String endContract, Integer workAge) {
        this.id = id;
        this.name = name;
        this.gender = gender;
        this.birthday = birthday;
        this.idCard = idCard;
        this.wedlock = wedlock;
        this.nationId = nationId;
        this.nativePlace = nativePlace;
        this.politicId = politicId;
        this.email = email;
        this.phone = phone;
        this.address = address;
        this.departmentId = departmentId;
        this.jobLevelId = jobLevelId;
        this.positionId = positionId;
        this.engageForm = engageForm;
        this.tiptopDegree = tiptopDegree;
        this.specialty = specialty;
        this.school = school;
        this.beginDate = beginDate;
        this.workState = workState;
        this.workId = workId;
        this.contractTerm = contractTerm;
        this.conversionTime = conversionTime;
        this.notWorkDate = notWorkDate;
        this.beginContract = beginContract;
        this.endContract = endContract;
        this.workAge = workAge;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getWedlock() {
        return wedlock;
    }

    public void setWedlock(String wedlock) {
        this.wedlock = wedlock;
    }

    public Integer getNationId() {
        return nationId;
    }

    public void setNationId(Integer nationId) {
        this.nationId = nationId;
    }

    public String getNativePlace() {
        return nativePlace;
    }

    public void setNativePlace(String nativePlace) {
        this.nativePlace = nativePlace;
    }

    public Integer getPoliticId() {
        return politicId;
    }

    public void setPoliticId(Integer politicId) {
        this.politicId = politicId;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }

    public Integer getJobLevelId() {
        return jobLevelId;
    }

    public void setJobLevelId(Integer jobLevelId) {
        this.jobLevelId = jobLevelId;
    }

    public Integer getPositionId() {
        return positionId;
    }

    public void setPositionId(Integer positionId) {
        this.positionId = positionId;
    }

    public String getEngageForm() {
        return engageForm;
    }

    public void setEngageForm(String engageForm) {
        this.engageForm = engageForm;
    }

    public String getTiptopDegree() {
        return tiptopDegree;
    }

    public void setTiptopDegree(String tiptopDegree) {
        this.tiptopDegree = tiptopDegree;
    }

    public String getSpecialty() {
        return specialty;
    }

    public void setSpecialty(String specialty) {
        this.specialty = specialty;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public String getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(String beginDate) {
        this.beginDate = beginDate;
    }

    public String getWorkState() {
        return workState;
    }

    public void setWorkState(String workState) {
        this.workState = workState;
    }

    public String getWorkId() {
        return workId;
    }

    public void setWorkId(String workId) {
        this.workId = workId;
    }

    public double getContractTerm() {
        return contractTerm;
    }

    public void setContractTerm(double contractTerm) {
        this.contractTerm = contractTerm;
    }

    public String getConversionTime() {
        return conversionTime;
    }

    public void setConversionTime(String conversionTime) {
        this.conversionTime = conversionTime;
    }

    public String getNotWorkDate() {
        return notWorkDate;
    }

    public void setNotWorkDate(String notWorkDate) {
        this.notWorkDate = notWorkDate;
    }

    public String getBeginContract() {
        return beginContract;
    }

    public void setBeginContract(String beginContract) {
        this.beginContract = beginContract;
    }

    public String getEndContract() {
        return endContract;
    }

    public void setEndContract(String endContract) {
        this.endContract = endContract;
    }

    public Integer getWorkAge() {
        return workAge;
    }

    public void setWorkAge(Integer workAge) {
        this.workAge = workAge;
    }

    public Nation getNation() {
        return nation;
    }

    public void setNation(Nation nation) {
        this.nation = nation;
    }

    public PoliticsStatus getPoliticsStatus() {
        return politicsStatus;
    }

    public void setPoliticsStatus(PoliticsStatus politicsStatus) {
        this.politicsStatus = politicsStatus;
    }

    public Department getDepartment() {
        return department;
    }

    public void setDepartment(Department department) {
        this.department = department;
    }

    public Position getPosition() {
        return position;
    }

    public void setPosition(Position position) {
        this.position = position;
    }

    public JobLevel getJobLevel() {
        return jobLevel;
    }

    public void setJobLevel(JobLevel jobLevel) {
        this.jobLevel = jobLevel;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", birthday='" + birthday + '\'' +
                ", idCard='" + idCard + '\'' +
                ", wedlock='" + wedlock + '\'' +
                ", nationId=" + nationId +
                ", nativePlace='" + nativePlace + '\'' +
                ", politicId=" + politicId +
                ", email='" + email + '\'' +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                ", departmentId=" + departmentId +
                ", jobLevelId=" + jobLevelId +
                ", positionId=" + positionId +
                ", engageForm='" + engageForm + '\'' +
                ", tiptopDegree='" + tiptopDegree + '\'' +
                ", specialty='" + specialty + '\'' +
                ", school='" + school + '\'' +
                ", beginDate='" + beginDate + '\'' +
                ", workState='" + workState + '\'' +
                ", workId='" + workId + '\'' +
                ", contractTerm=" + contractTerm +
                ", conversionTime='" + conversionTime + '\'' +
                ", notWorkDate='" + notWorkDate + '\'' +
                ", beginContract='" + beginContract + '\'' +
                ", endContract='" + endContract + '\'' +
                ", workAge=" + workAge +
                ", nation=" + nation +
                ", politicsStatus=" + politicsStatus +
                ", department=" + department +
                ", position=" + position +
                ", jobLevel=" + jobLevel +
                '}';
    }
}
